package com.example.studentmanager.service;

import com.example.studentmanager.model.Student;
import com.example.studentmanager.model.Teacher;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;


public interface TeacherService {
    public List<Teacher> searchTeach();
    void addTeacher(Teacher teacher);
    void delTeacher(Integer teaid,String name);
    List<Teacher> searchAllTeacher();
    Teacher searchTeacher(Integer teaid);
    void updateTeacher(Teacher teacher);
    List<Teacher> blurSearchTeacher(String str);
    List<Teacher> searchAll(Integer page, Integer rows, String searchCol, String searchValue);
    Integer counts(String searchCol,String searchValue);
}
